import request from '@/utils/request'

// 查询审核记录列表
export function listAuditprocess(query) {
  return request({
    url: '/grant/auditprocess/list',
    method: 'get',
    params: query
  })
}

// 查询审核记录详细
export function getAuditprocess(id) {
  return request({
    url: '/grant/auditprocess/' + id,
    method: 'get'
  })
}

// 新增审核记录
export function addAuditprocess(data) {
  return request({
    url: '/grant/auditprocess',
    method: 'post',
    data: data
  })
}

// 修改审核记录
export function updateAuditprocess(data) {
  return request({
    url: '/grant/auditprocess',
    method: 'put',
    data: data
  })
}

// 删除审核记录
export function delAuditprocess(id) {
  return request({
    url: '/grant/auditprocess/' + id,
    method: 'delete'
  })
}

// 导出审核记录
export function exportAuditprocess(query) {
  return request({
    url: '/grant/auditprocess/export',
    method: 'get',
    params: query
  })
}